using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace InputTool
{
    public class Library
    {

        [DllImport("user32.dll", EntryPoint = "keybd_event",CharSet=CharSet.Ansi)]
        public static extern void keybd_event(byte bVk,byte bScan,int dwFlags, int dwExtraInfo);

        [DllImport("user32.dll", EntryPoint = "SendMessageA")]
        public static extern int SendMessage(IntPtr hwnd, int wMsg, byte wParam, int lParam);


        [DllImport("User32.dll", EntryPoint = "FindWindow")]
        public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); 


    }
}
